<?php
 $sql = new db();
 $req = "SELECT c.Date_fin_Liv, c.GLN_Client FROM commande AS c, proposition_affretement AS pa WHERE pa.GLN_Transporteur='".$_SESSION['login']."' AND pa.Id_Commande = c.Id_Commande GROUP BY c.GLN_Client";
 $sql->query($req);
 $cmd = array();
 while ($tmp = $sql->fetch_array())
  $cmd[] = $tmp;
 $req = "SELECT * FROM camion WHERE GLN_Transporteur='".$_SESSION['login']."'";
 $sql->query($req);
 $camion = array();
 while ($tmp = $sql->fetch_array())
  $camion[] = $tmp;
?>